<%@ Import Namespace="iPhOwa.Exchange" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NotesContent.ascx.cs"
	Inherits="iPhOwa.Web.Controls.NotesContent" EnableViewState="false" %>
<asp:Panel ID="np" runat="server" Visible="false" Style="text-align: center;" CssClass="bodyDiv">
	You have no notes.
</asp:Panel>
<asp:DataList ID="nl" runat="server" EnableViewState="false" Width="100%"
	CellPadding="0" CellSpacing="0">
	<ItemTemplate>
		<iwc:ClickablePanel runat="server" ID="ad" Href='<%# string.Concat("ViewNote.aspx?path=", HttpUtility.UrlEncode(Eval("Href").ToString())) %>'
			CssClass="itemRow">
			<span>
				<asp:Image runat="server" ID="ni" CssClass="middle" ImageUrl="~/Images/icon-post.gif" />
				<%# Eval("Subject") %>
			</span><span style="float: right;">
				<asp:Label runat="server" ID="sl" Text='<%# ((DateTime)Eval("CreationDate")).ToFriendlyShortDate() %>'
					Style="white-space: nowrap;" />
			</span>
		</iwc:ClickablePanel>
	</ItemTemplate>
</asp:DataList>